<?php
/**
 * Created by PhpStorm.
 * User: YWX
 * Date: 2017/4/3
 * Time: 18:56
 */

$a = 'hello';
$b = &$a;
unset($b);
$b = "world";
echo $a;


echo '<br>';
$x = 1;
++$x;
$y = $x++;
echo $y.'y的值';
echo '<br>';
echo $x.'x的值';
echo '<br>';
echo '<br>';
$s1 = 1;
$s2 = 'a';

$s3 = implode('',array($s1,$s2));

echo $s3.'$s3的值';


//
//$count = 1;
//while ($count < 10){
//    echo '这是第'.$count. '输出';
//}
echo '<br>';
echo '<br>';
echo '<br>';
echo '<br>';
echo '<br>';
echo '<br>';
$week = date('D');
switch ($week){
    case "Mon":
        echo "星期一";
        break;
    case "Tue":
        echo "星期二";
        break;
    case "Wed":
        echo "新奇三";
        break;
}
echo '<br>';

echo $_SERVER["SERVER_SOFTWARE"] ;  //服务器信息
